// src/pages/catering/memberCenter/memberCenterFooter/footer.js
import getIn from '../../../../../yali-sdk/utils/getIn';
import { HOME_PATH, MEMBER_CENTER_PATH, CATERING_ORDER_LIST, SHOP_LIST } from '../../../../pages/pathUrl';
Component({
  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    toHome() {
      global.navigateHelper && global.navigateHelper.reLaunch({ pathname: HOME_PATH });
    },
    toOrder() {
      global.navigateHelper && global.navigateHelper.reLaunch({ pathname: CATERING_ORDER_LIST });
    },
    toCenter() {
      global.navigateHelper && global.navigateHelper.reLaunch({ pathname: MEMBER_CENTER_PATH });
    },
    toShop() {
      global.navigateHelper && global.navigateHelper.reLaunch({ pathname: SHOP_LIST });
    }
  }
})
